package com.huyiyu.dbproject.dto;

public class Student {
  private int Sno;
  private String Sname;
  private String Sclass;
  private float SgradeE;
  private float SgradeT;

  public Student() {
  }

  public Student(int sno, String sname, String sclass, float sgradeE, float sgradeT) {
    Sno = sno;
    Sname = sname;
    Sclass = sclass;
    SgradeE = sgradeE;
    SgradeT = sgradeT;
  }

  public int getSno() {
    return Sno;
  }

  public void setSno(int sno) {
    Sno = sno;
  }

  public String getSname() {
    return Sname;
  }

  public void setSname(String sname) {
    Sname = sname;
  }

  public String getSclass() {
    return Sclass;
  }

  public void setSclass(String sclass) {
    Sclass = sclass;
  }

  public float getSgradeE() {
    return SgradeE;
  }

  public void setSgradeE(float sgradeE) {
    SgradeE = sgradeE;
  }

  public float getSgradeT() {
    return SgradeT;
  }

  public void setSgradeT(float sgradeT) {
    SgradeT = sgradeT;
  }

  @Override
  public String toString() {
    return "Student{" +
            "Sno=" + Sno +
            ", Sname='" + Sname + '\'' +
            ", Sclass='" + Sclass + '\'' +
            ", SgradeE=" + SgradeE +
            ", SgradeT=" + SgradeT +
            '}';
  }
}
